package org.damazio.flight.checklists;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;

public class CheckListItemEdit extends Activity {

  private static final String NEW_ITEM_KEY = "new_item";
  private static final String PARENT_ID_KEY = "parent_id";

  public static void addNewItem(Context context, long parentId) {
    Intent intent = new Intent(context, CheckListItemEdit.class);
    intent.putExtra(NEW_ITEM_KEY, true);
    intent.putExtra(PARENT_ID_KEY, parentId);
    context.startActivity(intent);
  }
}
